package com.lzh.mybatisdemo;

import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @Description:
 * @Author: LiuZiHao
 * @Date: 2022/5/5 10:04
 */
@SpringBootApplication(scanBasePackages = {"com.lzh.mybatisdemo"})
public class MainApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(MainApplication.class, args);

        //BeanFactory是
        ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();

    }

}
